package client_gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.JLabel;

import client_controllers.AnaliticSystemController;
import client_controllers.EmployeeLoginController;
import client_controllers.MarketingEmployeeController;

public class AnaliticSystemGUI extends JFrame {

	private JPanel contentPane;
	private JLabel lblOk;
	private JButton btnBack;

	public JLabel getLblOk() {
		return lblOk;
	}

	public void setLblOk(JLabel lblOk) {
		this.lblOk = lblOk;
	}

	public AnaliticSystemGUI(MarketingEmployeeController mec,EmployeeLoginController elc) {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		btnBack = new JButton("Back");
		btnBack.setBounds(10, 11, 414, 23);
		contentPane.add(btnBack);
		
		lblOk = new JLabel("OK");
		lblOk.setVisible(false);
		lblOk.setBounds(213, 82, 46, 14);
		contentPane.add(lblOk);
		AnaliticSystemController asc=new AnaliticSystemController(this,elc,mec);
		setVisible(true);
	}

	public JButton getBtnBack() {
		return btnBack;
	}

	public void setBtnBack(JButton btnBack) {
		this.btnBack = btnBack;
	}
}
